<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>九九乘法表</title>
  <script>
    //控制台输出九九乘法表
    (function work19() {
      //双层循环
      for (let i = 1; i < 10; i++) {
        for (let j = 1; j < 10; j++) {
          //直接输出拼接字符串
          console.log(i + ' 乘以 ' + j + ' 等于 ' + i * j);
        }
      }
    })(); //立即执行函数
  </script>
</head>

<body>

</body>

</html>